package com.cyandpos.pad.posdata;

import java.io.Serializable;
import java.util.List;

public class OfferCoupon implements Serializable {
    private double balance;//券余额
    private int couponType;//
    private String couponTypeName;//券类券类型型名称
    private double offerMoney;//返券金额
    private String validDate;//券有效期
    private String difference;//扣返券金额
    private String offerMemberCardNo;//返券会员卡号
    private int offerMemberCardId;//返券会员卡id
    private String note1;//描述
    private String note2;//描述
    private List<CodeCoupon> codeCoupons;

    public String getNote1() {
        return note1;
    }

    public void setNote1(String note1) {
        this.note1 = note1;
    }

    public String getNote2() {
        return note2;
    }

    public void setNote2(String note2) {
        this.note2 = note2;
    }

    public List<CodeCoupon> getCodeCoupons() {
        return codeCoupons;
    }

    public void setCodeCoupons(List<CodeCoupon> codeCoupons) {
        this.codeCoupons = codeCoupons;
    }

    public String getOfferMemberCardNo() {
        return offerMemberCardNo;
    }

    public void setOfferMemberCardNo(String offerMemberCardNo) {
        this.offerMemberCardNo = offerMemberCardNo;
    }

    public int getOfferMemberCardId() {
        return offerMemberCardId;
    }

    public void setOfferMemberCardId(int offerMemberCardId) {
        this.offerMemberCardId = offerMemberCardId;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public int getCouponType() {
        return couponType;
    }

    public void setCouponType(int couponType) {
        this.couponType = couponType;
    }

    public String getCouponTypeName() {
        return couponTypeName;
    }

    public void setCouponTypeName(String couponTypeName) {
        this.couponTypeName = couponTypeName;
    }

    public double getOfferMoney() {
        return offerMoney;
    }

    public void setOfferMoney(double offerMoney) {
        this.offerMoney = offerMoney;
    }

    public String getValidDate() {
        return validDate;
    }

    public void setValidDate(String validDate) {
        this.validDate = validDate;
    }

    public String getDifference() {
        return difference;
    }

    public void setDifference(String difference) {
        this.difference = difference;
    }

    @Override
    public String toString() {
        return "OfferCoupon{" +
                "balance=" + balance +
                ", couponType=" + couponType +
                ", couponTypeName='" + couponTypeName + '\'' +
                ", offerMoney=" + offerMoney +
                ", validDate='" + validDate + '\'' +
                ", difference='" + difference + '\'' +
                '}';
    }

    public class CodeCoupon implements Serializable{
        private int codeCouponId;
        private String codeCouponName;
        private String couponCode;
        private String balance;
        private String amount;
        private String diff_deduct;
        private int couponType;
        private String dateValid;
        private String note1;
        private String note2;

        public String getNote1() {
            return note1;
        }

        public void setNote1(String note1) {
            this.note1 = note1;
        }

        public String getNote2() {
            return note2;
        }

        public void setNote2(String note2) {
            this.note2 = note2;
        }

        public int getCodeCouponId() {
            return codeCouponId;
        }

        public void setCodeCouponId(int codeCouponId) {
            this.codeCouponId = codeCouponId;
        }

        public String getCodeCouponName() {
            return codeCouponName;
        }

        public void setCodeCouponName(String codeCouponName) {
            this.codeCouponName = codeCouponName;
        }

        public String getCouponCode() {
            return couponCode;
        }

        public void setCouponCode(String couponCode) {
            this.couponCode = couponCode;
        }

        public String getBalance() {
            return balance;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getDiff_deduct() {
            return diff_deduct;
        }

        public void setDiff_deduct(String diff_deduct) {
            this.diff_deduct = diff_deduct;
        }

        public int getCouponType() {
            return couponType;
        }

        public void setCouponType(int couponType) {
            this.couponType = couponType;
        }

        public String getDateValid() {
            return dateValid;
        }

        public void setDateValid(String dateValid) {
            this.dateValid = dateValid;
        }
    }

}
